
<%--
  Created by IntelliJ IDEA.
  User: venn
  Date: 12/19/2016
  Time: 10:16 PM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
String path = request.getContextPath();
String serverPath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
	<head>
	<meta charset="utf-8">
	<title>ToDoList</title>

	<link rel="stylesheet" href="<%=basePath%>/static/css/todolist.css">
	<script src="<%=basePath%>/static/js/jquery.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>/static/js/todolist_back.js"></script>
    <link href="<%=basePath%>favicon.ico" rel="shortcut icon">
	</head>

	<body>
        <header>
            <section>
                <form action="javascript:postaction()" id="form">
                      <label for="title">ToDoList</label>
                      <input type="text" id="title" name="title" placeholder="添加ToDo" required="required" autocomplete="off" />
                  </form>
            </section>
        </header>
        <section>
                <h2 onclick="save()">正在进行 <span id="todocount"></span></h2>
                <ol id="todolist" class="demo-box">
                </ol>
                <h2>已经完成 <span id="donecount"></span></h2>
                <ul id="donelist">
                </ul>
        </section>
        <%--<footer>
            Copyright &copy; 2014 todolist.cn <a href="javascript:deleteList();">deleteList</a>
        </footer>--%>
	</body>
</html>

